Skip to content

De-conflict camera names and hostnames by use of a banner#1982

Merged
samfreund merged 21 commits intoPhotonVision:mainfrom
samfreund:deconflict-host-camera-names
Jul 4, 2025
Merged

De-conflict camera names and hostnames by use of a banner#1982
samfreund merged 21 commits intoPhotonVision:mainfrom
samfreund:deconflict-host-camera-names

Conversation

@samfreund
Copy link
Member

@samfreund samfreund commented Jul 1, 2025

closes #1918

All this does is warn the user when there's a conflict. Checking is done by publishing the hostname and camera names to NT using the MAC address as a key, then seeing if there are any other coprocs that did that and have the same names.

@samfreund samfreund marked this pull request as ready for review July 1, 2025 02:11
@samfreund samfreund requested a review from a team as a code owner July 1, 2025 02:11
@samfreund samfreund force-pushed the deconflict-host-camera-names branch from 4c045f0 to f90b38e Compare July 1, 2025 04:45
@samfreund samfreund force-pushed the deconflict-host-camera-names branch from 4a3ae11 to c1b3043 Compare July 1, 2025 05:38
@samfreund

This comment was marked as outdated.

@samfreund samfreund force-pushed the deconflict-host-camera-names branch from 808c96f to 1581974 Compare July 2, 2025 04:55
@samfreund

This comment was marked as outdated.

@samfreund samfreund force-pushed the deconflict-host-camera-names branch 2 times, most recently from fcf6ff9 to cae56f1 Compare July 2, 2025 19:06
@samfreund samfreund force-pushed the deconflict-host-camera-names branch 7 times, most recently from 3da623d to 34d704b Compare July 3, 2025 00:32
samfreund added 2 commits July 2, 2025 20:56
lint NT manager

lint network config

lint backend

update config for frontend interface
needed a bit more updating
@samfreund samfreund force-pushed the deconflict-host-camera-names branch from 34d704b to 61e4f7b Compare July 3, 2025 01:57
samfreund added 4 commits July 2, 2025 21:07
lint dashboard view

initial debugging of frontend

remove frontend loggers

bah, forgot to lint

lint and remove extraneous log
@samfreund samfreund force-pushed the deconflict-host-camera-names branch 3 times, most recently from a35b646 to b2d2ef6 Compare July 3, 2025 02:32
samfreund added 2 commits July 2, 2025 22:01
Discard changes to photon-client/src/components/settings/NetworkingCard.vue

Discard changes to photon-client/src/stores/settings/GeneralSettingsStore.ts

Discard changes to photon-client/src/types/SettingTypes.ts

Discard changes to photon-core/src/main/java/org/photonvision/common/configuration/NetworkConfig.java
@samfreund samfreund force-pushed the deconflict-host-camera-names branch from b2d2ef6 to 01de694 Compare July 3, 2025 03:01
@samfreund samfreund force-pushed the deconflict-host-camera-names branch 3 times, most recently from c3cfc42 to a1314dc Compare July 3, 2025 04:12
@Gold856

This comment was marked as resolved.

@Gold856 Gold856 force-pushed the deconflict-host-camera-names branch from 8b46a90 to c138e01 Compare July 4, 2025 03:20
@samfreund samfreund force-pushed the deconflict-host-camera-names branch from a81db6d to 52a1706 Compare July 4, 2025 12:54
@samfreund samfreund requested review from Gold856 and mcm001 July 4, 2025 17:44
@samfreund
Copy link
Member Author

Change MAC to dashes early on.

Big scary banner!

@samfreund samfreund force-pushed the deconflict-host-camera-names branch from 52a1706 to ed58922 Compare July 4, 2025 20:07
@Gold856 Gold856 force-pushed the deconflict-host-camera-names branch from 3032c4c to 065d44d Compare July 4, 2025 21:16
@samfreund samfreund enabled auto-merge (squash) July 4, 2025 21:25
@samfreund samfreund merged commit d88ea4a into PhotonVision:main Jul 4, 2025
39 checks passed
@Gold856 Gold856 added the enhancement New feature or request label Jul 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Conflicting hostnames and NT topics

3 participants